package com.yuyou.train.user.mapper;


import com.yuyou.train.service.api.user.dto.UserFeedbackPageDTO;
import com.yuyou.train.service.api.user.entity.UserFeedback;
import com.yuyou.train.util.bean.Pagination;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserFeedbackMapper {
    int deleteByPrimaryKey(String id);

    int insert(UserFeedback record);

    int insertSelective(UserFeedback record);

    UserFeedback selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(UserFeedback record);

    int updateByPrimaryKey(UserFeedback record);

    int findUserFeedbackPageCount(Pagination<UserFeedbackPageDTO> p);

    List<UserFeedbackPageDTO> findUserFeedbackPageList(Pagination<UserFeedbackPageDTO> p);
}